#!/bin/bash

while ((1))
do
# start
echo "check in..."
shell=$(grep -r --include=*.php  '[^a-z]eval($_POST')
shell+=$(grep -r --include=*.php  '[^a-z]eval($_GET')
array=${shell//\n/ }
for var in $array
do
  file=$(echo $var | cut -d ":" -f 1)
  `rm -rf $file`
  echo -e "\033[41;37;5m WARNING \033[0m FIND WEBSHELL!!!!!!!!!!!!!!"
  break
done

done

#author by wineme in 2020.11.30